const {getBrandListServe} = require("../serve/brand.serve");

class AppletBrandController {
    async getAppletBrandList(ctx) {
        try {
            const res = await getBrandListServe(ctx)
            ctx.body = {
                msg: '获取成功',
                status: 0,
                data: res
            }
        } catch (e) {
            ctx.body = {
                msg: e.message,
                status: 1
            }
        }
    }
}

module.exports = new AppletBrandController();
